<?php
include '../class/class.kewenangan.php';

if(isset($_REQUEST['aksi_get_kewenangan'])){
	$id_kewenangan=$_REQUEST['id_kewenangan'];

	$kewenangandao= new KewenanganDao();

	$kewenangan=$kewenangandao->getKewenangan($id_kewenangan);

	$data=array(
		'id_kewenangan' => $kewenangan['id_kewenangan'],
		'nm_kewenangan' => $kewenangan['nama_kewenangan'],
		);

	echo json_encode($data);
}

?>